// Tiger NET - CSharp Wrapper  ---------------------------------------------
//                                                                     	    
// @FileName  : com.eibus.xml.nom.Find.cs                          	    
// @Version   : Cordys Integrator 4.2.1 Build 01                                     
// @Author    : Tiger CodeGenerator                                         
// @BuildInfo : csc com.eibus.xml.nom.Find.cs                           
//                                                                          
// Warning: This is generated code. Do not update it manually!!             
//                                                                          
// Generated by: Cordys Integrator Code Generation Engine at 15 December 2004 - 02:38:49 IST      
// 	Cordys Integrator 4.2.1 Build 01                                                   
//                                                                          
// -------------------------------------------------------------------------
                                                                            
using System;                                                               
using System.Runtime.InteropServices;                                       
using System.ComponentModel;                                                
using TigerNET;                                                             
using COMJAVALib;                                                           
			 	                                                            
namespace com.eibus.xml.nom
{   
   /// <summary>                           
   /// Summary description for	com.eibus.xml.nom.Find 	
   /// </summary>                          
    public class Find
    {   
        private static comJavaJvmClass  m_JVM;  
        private IJavaObjectProxy m_THIS; 
        								
        								
								
								
		// Non-deterministic ( Garbage Collected ) Destructor
		//											
		~Find()	
		{											
			if (m_THIS != null)						
			{										
													
				Marshal.ReleaseComObject((object)m_THIS); 
													
			}										
			m_THIS  = null;							
		}											
													
													
		// Deletes Java Objects & release memory	
		//											
		public void Destroy()						
		{											
			if (m_THIS != null)						
			{										
													
				Marshal.ReleaseComObject((object)m_THIS); 
													
			 }										
			m_THIS  = null;							
		}											
												  

		// Special Constructor which enables other	
		// objects to return this object			
		//											
		public Find( comJavaJvmClass p_JVM, IJavaObjectProxy p_THIS )	
		{											
			m_JVM  = p_JVM;							
			m_THIS = p_THIS;						
		}											
													
								
													
		public IJavaObjectProxy THIS				
		{											
			get								 		
			{										
				return m_THIS;						
			}										
			set										
			{										
				m_THIS =value;						
			}										
		}											
													
													
		public static Find	TypeCast(object  castObject)					
		{											
		 try										
		 	{										
		 	 if(castObject != null)					
			  {										
				return (new	Find(JVMInit.CreateJvm(),(IJavaObjectProxy)castObject))	;
			 }										
			 else									
			 {										
				throw (new System.Exception ("object is null [Trying to TypeCast a null object] "));
			 }										
		   }										
		 catch(System.Exception ex)					
		 {											
		   throw ex;								
		 }											
		}											
													
    									

		public static	int	firstElement(int p_arg0 ,	string p_arg1 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0, 										
					p_arg1
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("com.eibus.xml.nom.Find", "firstElement",ref l_aobjArgs	 ); 
 															
				return  (int)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


				


		public static	int[]	match(int p_arg0 ,	string p_arg1 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0, 										
					p_arg1
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("com.eibus.xml.nom.Find", "match",ref l_aobjArgs	 ); 
 															
				return  (int[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	int	first(int p_arg0 ,	string p_arg1 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0, 										
					p_arg1
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("com.eibus.xml.nom.Find", "first",ref l_aobjArgs	 ); 
 															
				return  (int)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	int	firstMatch(int p_arg0 ,	string p_arg1 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0, 										
					p_arg1
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("com.eibus.xml.nom.Find", "firstMatch",ref l_aobjArgs	 ); 
 															
				return  (int)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	int	firstInList(int p_arg0 ,	int p_arg1 ,	string p_arg2 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0, 										
					p_arg1, 										
					p_arg2
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("com.eibus.xml.nom.Find", "firstInList",ref l_aobjArgs	 ); 
 															
				return  (int)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	string	firstData(int p_arg0 ,	string p_arg1 ,	string p_arg2 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0, 										
					p_arg1, 										
					p_arg2
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("com.eibus.xml.nom.Find", "firstData",ref l_aobjArgs	 ); 
 															
				return  (string)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	string	firstDataWithDefault(int p_arg0 ,	string p_arg1 ,	string p_arg2 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0, 										
					p_arg1, 										
					p_arg2
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("com.eibus.xml.nom.Find", "firstDataWithDefault",ref l_aobjArgs	 ); 
 															
				return  (string)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	string[]	data(int p_arg0 ,	string p_arg1 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0, 										
					p_arg1
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("com.eibus.xml.nom.Find", "data",ref l_aobjArgs	 ); 
 															
				return  (string[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	int[]	firstElements(int p_arg0 ,	string p_arg1 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0, 										
					p_arg1
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("com.eibus.xml.nom.Find", "firstElements",ref l_aobjArgs	 ); 
 															
				return  (int[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	int	firstMatchInList(int p_arg0 ,	int p_arg1 ,	string p_arg2 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0, 										
					p_arg1, 										
					p_arg2
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("com.eibus.xml.nom.Find", "firstMatchInList",ref l_aobjArgs	 ); 
 															
				return  (int)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	int	matchInList(int p_arg0 ,	int p_arg1 ,	string p_arg2 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0, 										
					p_arg1, 										
					p_arg2
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("com.eibus.xml.nom.Find", "matchInList",ref l_aobjArgs	 ); 
 															
				return  (int)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	int	listCompare(int p_arg0 ,	int p_arg1 ,	int p_arg2 ,	int p_arg3 ,	int p_arg4 ,	int p_arg5 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0, 										
					p_arg1, 										
					p_arg2, 										
					p_arg3, 										
					p_arg4, 										
					p_arg5
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("com.eibus.xml.nom.Find", "listCompare",ref l_aobjArgs	 ); 
 															
				return  (int)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	int	nodes(int p_arg0 ,	string p_arg1 ,	int p_arg2 ,	int[] p_arg3 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0, 										
					p_arg1, 										
					p_arg2, 										
					p_arg3
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("com.eibus.xml.nom.Find", "nodes",ref l_aobjArgs	 ); 
 															
				return  (int)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	int	setOfSiblingNodes(int p_arg0 ,	string p_arg1 ,	int p_arg2 ,	int[] p_arg3 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0, 										
					p_arg1, 										
					p_arg2, 										
					p_arg3
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("com.eibus.xml.nom.Find", "setOfSiblingNodes",ref l_aobjArgs	 ); 
 															
				return  (int)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	bool	node(int p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("com.eibus.xml.nom.Find", "node",ref l_aobjArgs	 ); 
 															
				return  (bool)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	int	hashCode()
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    

				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "hashCode", ref l_aobjArgs );    
															
				return  (int)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	java.lang.Class	getClass()
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    

				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "getClass", ref l_aobjArgs );    
															
				if (l_objTemp == null)							 
					return  null;								 
				else											 
					return  ( new java.lang.Class(m_JVM,(IJavaObjectProxy)l_objTemp));
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	void	wait()
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    

				}; 									 
														 
				m_THIS.invokeJavaMethod( "wait", ref l_aobjArgs );    
														
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	void	wait(long p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				m_THIS.invokeJavaMethod( "wait", ref l_aobjArgs );    
														
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	void	wait(long p_arg0 ,	int p_arg1 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0, 										
					p_arg1
				}; 									 
														 
				m_THIS.invokeJavaMethod( "wait", ref l_aobjArgs );    
														
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	bool	equals(java.lang.Object p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0.THIS
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "equals", ref l_aobjArgs );    
															
				return  (bool)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	void	notify()
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    

				}; 									 
														 
				m_THIS.invokeJavaMethod( "notify", ref l_aobjArgs );    
														
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	void	notifyAll()
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    

				}; 									 
														 
				m_THIS.invokeJavaMethod( "notifyAll", ref l_aobjArgs );    
														
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	string	toString()
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    

				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "toString", ref l_aobjArgs );    
															
				return  (string)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		
    }    // end of	com.eibus.xml.nom.Find	 class

}    // end of namespace